<template>
  <div class="order-management">
    <el-tabs v-model="activeTab">
      <el-tab-pane label="订单列表" name="list">
        <order-list/>
      </el-tab-pane>
      <el-tab-pane label="创建订单" name="create">
        <order-create/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import OrderList from '@/components/order/OrderList'
import OrderCreate from '@/components/order/OrderCreate'

export default {
  name: 'OrderManagement',
  components: {
    OrderList,
    OrderCreate
  },
  data() {
    return {
      activeTab: 'list'
    }
  }
}
</script> 